package com.amumu.netctoss.dao;

import java.util.List;

import com.amumu.netctoss.entity.Role;

public interface RoleDao {
	List<Role> getList(int page,int size)throws Exception;
	List<Role> findAll()throws Exception;
	void save(Role role)throws Exception;
	void update(Role role)throws Exception;
	void delete(int id)throws Exception;
	Role findById(int id)throws Exception;
	List<Role> findByAdminId(int id)throws Exception;
	int getPageCount(int size)throws Exception;
}
